package com.avalon.erp.addon.estate;

import com.avalon.core.module.AbstractModule;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author lwlianghehe@gmail.com
 * @date 2025/04/08 11:24
 */
@Component
@Slf4j
public class EstateModule extends AbstractModule {
    @Override
    public String getModuleName() { // 模块标识 唯一值
        return "estate";
    }

    @Override
    public String getLabel() { // 显示标题
        return "房地产";
    }

    @Override
    public String getDescription() { // 描述
        return "房地产管理等功能";
    }

    @Override
    public Boolean getDisplay() { // 安装后，显示在左边栏位上
        return true;
    }

    @Override
    public String[] getResource() {
        return new String[]{
                "resource/view/estate.property.views.xml",
                "resource/view/estate.property.offer.views.xml",
                "resource/view/estate.property.type.views.xml",
                "resource/view/estate.property.tag.views.xml",
                "resource/menu.xml"
        };
    }
}
